// import Job from "@/views/student/Job.vue";
// import { defineStore } from "pinia";

// export const useInterviewJobStore = defineStore("Job",{
//     state:() => {
//         return {
//             job: Job,
//         }
//     },
//     actions:{
//         setInterviewJob(job : any){
//             this.job = job;
//         },
//         getInterviewJob(){
//             return this.job;
//         }
//     },
// })

import { defineStore } from 'pinia';

export const useInterviewJobStore = defineStore('canInterviewJob', {
  state: () => ({
    interviewJob: null as any,
    interviewReport: null as any
  }),
  actions: {
    setInterviewJob(job: any) {
      this.interviewJob = job;
    },
    getInterviewJob() {
      return this.interviewJob;
    },
    setInterviewReport(report: any) {
      this.interviewReport = report;
    },
    getInterviewReport() {
      return this.interviewReport;
    }
  },
  persist: true
});